package com.accounting.client.remote;

import com.accounting.client.remote.obj.Cost;
import com.accounting.client.remote.transfer.AddCostRequest;
import com.accounting.client.remote.transfer.UpdateCostRequest;

import corelib.client.jsonrpc.RemoteJSONService;
import corelib.client.search.PagingRequest;
import corelib.client.search.PagingResult;

public interface CostService extends RemoteJSONService {
	
	public boolean UpdateCost(String passport, UpdateCostRequest request);
	public boolean RemoveCost(String passport, String costId);
	
	public boolean AddCost(String passport, AddCostRequest request);
	public PagingResult<Cost> ListCosts(String passport, PagingRequest request);
	
}
